<div class="span8 single">
	<!--article header 2015-9-19 ysicing-->
	<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/post.css" />
	<script type="text/javascript">
function doZoom(size) {
var zoom = document.all ? document.all['zw'] : document.getElementById('zw');
zoom.style.fontSize = size + 'px';
}
</script>
	<div class="single-post nobottommargin">
		<div class="entry clearfix">
			<div class="entry-title"><h2><?php the_title(); ?></h2></div>
			<ul class="entry-meta clearfix">
                <li><i class="fa fa-calendar"></i> <?php echo timeago( get_gmt_from_date(get_the_time('Y-m-d G:i:s')) ) ?></li>
                <li><i class="fa fa-user"></i> <?php the_author_posts_link(); ?></li>
                <li><i class="fa fa-folder-open-o"></i><?php the_category(', ') ?></li>
                <li><i class="fa fa-comments-o"></i> <?php if ( comments_open() ) echo '<a href="'.get_comments_link().'">'.get_comments_number('0', '1', '%').'评论</a>';?></li>
                <li class="fontResizer">字体：<a href="javascript:doZoom(12)" class="btn-xs">小</a><a href="javascript:doZoom(14)" class="btn-xs">中</a><a href="javascript:doZoom(16)" class="btn-xs">大</a></li>
                <?php edit_post_link('<li class="editor"><i class="fa fa-edit"></i> 编辑</li>', '  ', '  '); ?>
            </ul>
            <!--ad 0x01  / mad 0x01-->
            <div id="primary" class="entry-content notopmargin">
                <?php if ( wp_is_mobile() ){ 
                	echo of_get_option('adm_01_s') ? '<div class="adms">'.of_get_option('adm_01').'</div>' : '';}else {
                		echo of_get_option('ads_03_s') ? '<div class="ads aligncenter">'.of_get_option('ads_03').'</div>' : '';} ?>
                <div class="zw">
				<?php the_content(); ?>
				</div>
			</div>

			<!--ad 文字-->
			<?php if( of_get_option('ads_post_footer_s') ){ ?>
                <p class="asb-post-footer"><b>AD：</b><strong><a href="<?php echo of_get_option('ads_post_footer_link');?>" <?php if( of_get_option('ads_post_footer_link_blank') ){  echo 'target="_blank"';  } ?>><?php echo of_get_option('ads_post_footer_title');?></a></strong></p>
                <?php } ?>
            <!--Tags-->
            <div class="tagcloud clearfix bottommargin-mini">
                  <?php the_tags('<i class="fa fa-tags"></i> Tags： ',' ',' '); ?>
            </div>
		</div>
		<hr />
		<!--上/下文-->
		<div class="single_nav">
	        <div class="btn next pull-left">
	            <?php if (get_previous_post()) { previous_post_link('<i class="fa fa-angle-double-left"></i> %link');} else {echo " 已经是最后文章";} ?>
	        </div>
	        <div class="btn next pull-right">
	            <?php if (get_next_post()) { next_post_link('%link <i class="fa fa-angle-double-right"></i>');} else {echo "已经是最新文章 ";} ?>
	        </div>
	    </div>
	    <!--相关推荐-->
	    <!--ad -->
	    <br /><br /><hr />
	    <div class="xgtj">
		    <?php if ( wp_is_mobile() ){ echo of_get_option('adm_02_s') ? '<div class="adms">'.of_get_option('adm_02').'</div>' : '';}else {echo of_get_option('ads_04_s') ? '<div class="ads aligncenter">'.of_get_option('ads_04').'</div>' : '';} ?>
	        <!--相关文章-->
			<?php
				if(!of_get_option('disable_related_posts')){
			?>
				<div class="related-posts">
					<div class="related-title">
						你可能也喜欢：
					</div>
					<?php $specs_related = of_get_option("archives_related") ? of_get_option("archives_related") : 5;specs_relatedpost($specs_related);?>
				</div>
			<?php } ?>
		</div>
		<!--评论-->
		<div class="pl">
			<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/js/global.js"></script>
		<?php $withcomments = "1";comments_template(); ?>   
		</div>
		<!--ad -->
		<?php echo of_get_option('ads_05_s') ? '<div class="ads aligncenter">'.of_get_option('ads_05').'</div>' : '' ?>
	</div>
</div>